package com.woniu.hospital.service;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.TableDataInfo;
import com.woniu.user.domain.Doctor;
import com.woniu.user.domain.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import javax.print.Doc;

@FeignClient("wolf-user")
public interface UserService  {

    @GetMapping(value = "/doctor/test/{doctorId}")
    Doctor selDoctorById(@PathVariable("doctorId") Long doctorId);

    @GetMapping(value = "/patient/test/{patientId}")
    Patient getPatientById(@PathVariable("patientId") Long patientId);



}
